package com.aptech.dto;

public class User {

    private String username;
    private String password;
    private String role;
    private String description;
    private String address;
    private boolean check;
    private String[] test;

    public User(String username, String address) {
        this.username = username;
        this.address = address;
    }

    public User() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return the check
     */
    public boolean isCheck() {
        return check;
    }

    /**
     * @param check the check to set
     */
    public void setCheck(boolean check) {
        this.check = check;
    }

    public String combinedData() {
        return username+"_" + address;
    }

    /**
     * @return the test
     */
    public String[] getTest() {
        return test;
    }

    /**
     * @param test the test to set
     */
    public void setTest(String[] test) {
        this.test = test;
    }
}
